package com.onetime.mall.trading;

import com.onetime.mall.trading.utils.OrderTaskHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication
@MapperScan("com.onetime.mall.trading.dao")
public class TradingApplication {
    public static void main(String[] args) {
       SpringApplication.run(TradingApplication.class, args);
        OrderTaskHandler.run();
    }

}
